package com.knightcloud.micro.upms.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.knightcloud.common.base.entity.OrmBaseBean;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户和角色关联表
 * </p>
 *
 * @author knight
 */
@Getter
@Setter
@TableName("sys_user_role")
public class SysUserRole extends OrmBaseBean {

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;

	private String userId;

	private String roleId;

}
